
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#di{
				width: 668px;
				height: 1000px;
				/* background-color: pink; */
				margin: auto;
			}
			#box{
				font-size: 40px;
			}
		</style>
	</head>
	<body>
		
		<div id="di">
			<div id="box"></div>
			<img src="img/img2.webp" >
		</div>
		<script type="text/javascript">
			var odiv = document.getElementById('box');
			var di = document.getElementById('di');
			
			var a = 1;
			var b = setInterval(function(){
				odiv.innerHTML = a++;
				if(a == 10){
					clearInterval(b);
					di.innerHTML = '';
				}
			},1000);
		</script>
	</body>
</html>
